package com.gaojun.service;

import com.spring.*;

/**
 * @author gaojun
 * @description TODO
 * @date 2022/7/3 16:36
 */
@Component("userService")
@Scope("singleton")
public class UserService implements IUserService,BeanNameAware {
    @Autowired
    public OrderService orderService;

    @GJValue("高俊")
    public String test;

    public String beanName;

    @Override
    public void test() {
        System.out.println(test);
        System.out.println(beanName);
    }


    @Override
    public void setBeanName(String var1) {
        this.beanName=var1;
    }
}
